package com.heima.wemedia.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.user.model.common.dtos.ResponseResult;
import com.heima.wemedia.dtos.WmNewsDto;
import com.heima.wemedia.dtos.WmNewsPageReqDto;
import com.heima.wemedia.pojos.WmNews;

public interface WmNewsService extends IService<WmNews> {
    ResponseResult submit(WmNewsDto dto);

    ResponseResult listAll(WmNewsPageReqDto dto);

    ResponseResult downOrUp(WmNewsDto dto);
}
